package vip.zhenzicheng.design_patterns.iterator;

/**
 * 抽象聚合角色接口
 *
 * @author zhenzicheng
 * @date 2022-05-27 13:37
 */
public interface StudentAggregate {

    //添加学生功能
    void addStudent(Student stu);

    //删除学生功能
    void removeStudent(Student stu);

    //获取迭代器对象功能
    StudentIterator getStudentIterator();
}
